<template>
  <div class="p-search">
    <div style="height:20px;"></div>
    <div class="sea-input m5">
      <el-input placeholder="请输入搜索内容" v-model="searchVal">
        <el-button
          slot="append"
          icon="el-icon-search"
          @click="search"
        ></el-button>
      </el-input>
    </div>
    <div class="content">
      <br />
      <br />
      推荐内容
    </div>
    <div style="height:20px;"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      searchVal: ''
    }
  },
  methods: {
    search() {
      console.log('serach+' + this.searchVal)
    }
  }
}
</script>

<style lang="scss">
.p-search {
  min-height: 100px;
  background-color: #f3f7f9;
  border-radius: 5px;

  .sea-input {
  }

  .content {
    height: auto;
    text-align: center;
  }
}
</style>
